﻿
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using MiniFox.Web.Configurations;

namespace MiniFox.Web.AppStarting
{
    /// <summary>
    /// 
    /// </summary>
    public interface IHttpStart : IDisposable
    {
        /// <summary>
        /// 
        /// </summary>
        IConfiguration Configuration { get; }
        /// <summary>
        /// 
        /// </summary>
        IWebHostEnvironment Environment { get; }
        /// <summary>
        /// 
        /// </summary>
        WebConfiguration WebConfiguration { get; }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="services"></param>
        void OnServicesConfiguring(IServiceCollection services);
        /// <summary>
        /// 
        /// </summary>
        /// <param name="app"></param>
        void OnApplicationConfiguring(IApplicationBuilder app);
    }
}
